import { createStore,combineReducers,applyMiddleware,compose} from 'redux'
import app from "./modules/app"
import user from "./modules/user"
import logger from "redux-logger"
import thunk from "redux-thunk"
import good from './modules/good'
const reducer=combineReducers({
  app,
  user,
  good
})

const store=createStore(reducer,compose(applyMiddleware(thunk),applyMiddleware(logger)))
export default store